﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DevExpress.Xpo;
using WROA.Models.Entitys;

namespace WROA.Models.IServices
{
    public interface IMessageService : IService
    {
        XPCollection GetAllMessage(string name);
        void UpdateIsRead(int id);
        Message GetMessage(int id);
        void SendMessage(string sender, string receiverList, string content);
        void MassTexting(string sender, List<string> receiverList, string content);
    }
}